package com.pcbly.web.persistence.mail;

import java.util.List;

import com.pcbly.web.bean.mail.UserReceiveMainBean;
import com.pcbly.web.components.hibernate.support.Page;
import com.pcbly.web.persistence.BaseDao;

public interface UserReceiveMainDao extends BaseDao<UserReceiveMainBean> {
	
	int saveList(List<UserReceiveMainBean> list,String userName)throws Exception;
	
	Page<UserReceiveMainBean> findUserReceiveMainBeanByCond(
			UserReceiveMainBean bean, Page<UserReceiveMainBean> page,
			String orderByName, boolean asc) throws Exception;

	void removeUserReceiveMainBeanById(String id)throws Exception;
	
	void removeComplateUserReceiveMainBeanById(String id)throws Exception;
}
